<?xml version="1.0" encoding="utf-8" ?>
<ormap xmlns:#{entity}="clr-ns://#{namespace}, Assembly=#{assembly}"       
       xmlns:#{db}="db://#{dbId}">

	   #{for t in tables}
	   <object-table-map class="#{entity}:#{t.CLRName}" table="#{db}:#{t.DbName}" primaryKey="#{t.PrimaryKey}" primaryKeyGenerate="#{t.PKGenerate}">
		#{for c in t.Columns}
		<field property="#{c.CLRName}" column="#{c.DbName}" nullable="#{c.IsNullable}"/>
		#{end}
	   </object-table-map>
	   #{end}
</ormap>